    <div id="page-content">
    <div id='wrap'>
        <div id="page-heading">
            <ol class="breadcrumb">
                <li><a href="index.php">Dashboad</a></li>
                <li><a href="<?php echo site_url('penyakit');?>">Data Penyakit</a></li>
                <li>Data Gejala <?php echo $penyakit; ?></li>
            </ol>

            <h1>Data Gejala  <?php echo $penyakit; ?></h1>
        </div>


        <div class="container">
            <a href="javascript:window.history.go(-1);" class="btn btn-green"><i class="icon-chevron-left"></i></a>
            <a href="<?php echo site_url('penyakit/tambah_gejala').'/'.$id; ?>" class="btn btn-midnightblue"><i class="icon-plus"></i> Tambah Data</a>
            <br />
            <br />
            <div class="row">
              <div class="col-md-12">
                <div class="panel panel-sky">
                         <div class="panel-heading" <?php if($param=='sapi') { echo "style='background-color:#1FAFD3'"; } else if($param=='kambing') { echo "style='background-color:#E08E0B'"; } else if ($param='domba') {
                   echo "style='background-color:#78BA38'";
                } else {
                    echo '';
                } ?> >
                        <h4>Data Gejala </h4>
                    </div>
                    <div class="panel-body collapse in">
                        <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example">
                            <thead>
                                <tr>
                                    <th>No</th>
                                    <th>Kode Gejala</th>
                                    <th>Gejala</th>
                                    <th>Bobot</th>
                                    <th>Aksi</th>
                                </tr>
                            </thead>
                          
                            <tbody>
                             <?php 
                             $i = 0;
                             if ($data != null) 
                                foreach ($data as $dt) {  $i++; ?>
                            <tr>
                                <td><?php echo $i; ?></td>
                                <td><?php echo $dt->kd_gejala; ?></td>
                                <td class="col-md-6"><?php echo $dt->gejala; ?></td>
                                <td><?php echo $dt->bobot; ?></td>
                                <td class="col-md-2">
                                   <div class="btn-group">
                                    <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                        Aksi <span class="caret"></span>
                                    </button>
                                    <ul class="dropdown-menu" role="menu">
                                        <li><a href="<?php echo site_url('penyakit/edit_gejala').'/'.$dt->id_gejala; ?>">Edit</a></li>
                                        <li><a href="<?php echo site_url('diagnosa/hapus_gejala').'/'.$param.'/'.$dt->id_penyakit.'/'.$dt->id_bobot_gejala;  ?>" onclick="return confirm('Anda yakin menghapus pengguna ?');">Hapus</a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                        <?php } ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>

</div> <!-- container -->
</div> <!--wrap -->
</div> <!-- page-content -->